<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Struct template hashdata_internal</title>
<link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset">
<link rel="up" href="../../intrusive/reference.html#header.boost.intrusive.hashtable_hpp" title="Header &lt;boost/intrusive/hashtable.hpp&gt;">
<link rel="prev" href="hash_key_types_base.html" title="Struct template hash_key_types_base">
<link rel="next" href="hashtable.html" title="Class template hashtable">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
<td align="center"><a href="../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="hash_key_types_base.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../intrusive/reference.html#header.boost.intrusive.hashtable_hpp"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="hashtable.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="boost.intrusive.hashdata_internal"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Struct template hashdata_internal</span></h2>
<p>boost::intrusive::hashdata_internal</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../intrusive/reference.html#header.boost.intrusive.hashtable_hpp" title="Header &lt;boost/intrusive/hashtable.hpp&gt;">boost/intrusive/hashtable.hpp</a>&gt;

</span><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> ValueTraits<span class="special">,</span> <span class="keyword">typename</span> VoidOrKeyOfValue<span class="special">,</span> 
         <span class="keyword">typename</span> VoidOrKeyHash<span class="special">,</span> <span class="keyword">typename</span> VoidOrKeyEqual<span class="special">,</span> 
         <span class="keyword">typename</span> BucketTraits<span class="special">,</span> <span class="keyword">typename</span> SizeType<span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> BoolFlags<span class="special">&gt;</span> 
<span class="keyword">struct</span> <a class="link" href="hashdata_internal.html" title="Struct template hashdata_internal">hashdata_internal</a> <span class="special">:</span> <span class="keyword">public</span> boost::intrusive::hashtable_size_wrapper&lt; DeriveFrom, SizeType, bool &gt;
<span class="special">{</span>
  <span class="comment">// types</span>
  <span class="keyword">typedef</span> <span class="identifier">get_hashtable_size_wrapper_bucket</span><span class="special">&lt;</span> <span class="identifier">ValueTraits</span><span class="special">,</span> <span class="identifier">VoidOrKeyOfValue</span><span class="special">,</span> <span class="identifier">VoidOrKeyHash</span><span class="special">,</span> <span class="identifier">VoidOrKeyEqual</span><span class="special">,</span> <span class="identifier">BucketTraits</span><span class="special">,</span> <span class="identifier">SizeType</span><span class="special">,</span> <span class="identifier">BoolFlags</span> <span class="special">&gt;</span><span class="special">::</span><span class="identifier">type</span> <a name="boost.intrusive.hashdata_internal.split_bucket_hash_equal_t"></a><span class="identifier">split_bucket_hash_equal_t</span><span class="special">;</span>
  <span class="keyword">typedef</span> <span class="identifier">split_bucket_hash_equal_t</span><span class="special">::</span><span class="identifier">key_equal</span>                                                                                                       <a name="boost.intrusive.hashdata_internal.key_equal"></a><span class="identifier">key_equal</span><span class="special">;</span>                
  <span class="keyword">typedef</span> <span class="identifier">split_bucket_hash_equal_t</span><span class="special">::</span><span class="identifier">hasher</span>                                                                                                          <a name="boost.intrusive.hashdata_internal.hasher"></a><span class="identifier">hasher</span><span class="special">;</span>                   
  <span class="keyword">typedef</span> <span class="identifier">bucket_plus_vtraits</span><span class="special">&lt;</span> <span class="identifier">ValueTraits</span><span class="special">,</span> <span class="identifier">BucketTraits</span><span class="special">,</span> <a class="link" href="linear_buckets.html" title="Struct template linear_buckets">linear_buckets</a> <span class="special">&gt;</span>                                                                           <a name="boost.intrusive.hashdata_internal.bucket_plus_vtraits_t"></a><span class="identifier">bucket_plus_vtraits_t</span><span class="special">;</span>    
  <span class="keyword">typedef</span> <span class="identifier">SizeType</span>                                                                                                                                   <a name="boost.intrusive.hashdata_internal.size_type"></a><span class="identifier">size_type</span><span class="special">;</span>                
  <span class="keyword">typedef</span> <span class="identifier">split_bucket_hash_equal_t</span><span class="special">::</span><span class="identifier">size_traits</span>                                                                                                     <a name="boost.intrusive.hashdata_internal.split_traits"></a><span class="identifier">split_traits</span><span class="special">;</span>             
  <span class="keyword">typedef</span> <span class="identifier">bucket_plus_vtraits_t</span><span class="special">::</span><span class="identifier">bucket_ptr</span>                                                                                                          <a name="boost.intrusive.hashdata_internal.bucket_ptr"></a><span class="identifier">bucket_ptr</span><span class="special">;</span>               
  <span class="keyword">typedef</span> <span class="identifier">bucket_plus_vtraits_t</span><span class="special">::</span><span class="identifier">const_value_traits_ptr</span>                                                                                              <a name="boost.intrusive.hashdata_internal.const_value_traits_ptr"></a><span class="identifier">const_value_traits_ptr</span><span class="special">;</span>   
  <span class="keyword">typedef</span> <span class="identifier">bucket_plus_vtraits_t</span><span class="special">::</span><span class="identifier">siterator</span>                                                                                                           <a name="boost.intrusive.hashdata_internal.siterator"></a><span class="identifier">siterator</span><span class="special">;</span>                
  <span class="keyword">typedef</span> <span class="identifier">bucket_plus_vtraits_t</span><span class="special">::</span><span class="identifier">bucket_traits</span>                                                                                                       <a name="boost.intrusive.hashdata_internal.bucket_traits"></a><span class="identifier">bucket_traits</span><span class="special">;</span>            
  <span class="keyword">typedef</span> <span class="identifier">bucket_plus_vtraits_t</span><span class="special">::</span><span class="identifier">value_traits</span>                                                                                                        <a name="boost.intrusive.hashdata_internal.value_traits"></a><span class="identifier">value_traits</span><span class="special">;</span>             
  <span class="keyword">typedef</span> <span class="identifier">bucket_plus_vtraits_t</span><span class="special">::</span><span class="identifier">bucket_type</span>                                                                                                         <a name="boost.intrusive.hashdata_internal.bucket_type"></a><span class="identifier">bucket_type</span><span class="special">;</span>              
  <span class="keyword">typedef</span> <span class="identifier">value_traits</span><span class="special">::</span><span class="identifier">value_type</span>                                                                                                                   <a name="boost.intrusive.hashdata_internal.value_type"></a><span class="identifier">value_type</span><span class="special">;</span>               
  <span class="keyword">typedef</span> <span class="identifier">value_traits</span><span class="special">::</span><span class="identifier">pointer</span>                                                                                                                      <a name="boost.intrusive.hashdata_internal.pointer"></a><span class="identifier">pointer</span><span class="special">;</span>                  
  <span class="keyword">typedef</span> <span class="identifier">value_traits</span><span class="special">::</span><span class="identifier">const_pointer</span>                                                                                                                <a name="boost.intrusive.hashdata_internal.const_pointer"></a><span class="identifier">const_pointer</span><span class="special">;</span>            
  <span class="keyword">typedef</span> <a class="link" href="pointer_traits.html" title="Struct template pointer_traits">pointer_traits</a><span class="special">&lt;</span> <span class="identifier">pointer</span> <span class="special">&gt;</span><span class="special">::</span><span class="identifier">reference</span>                                                                                                       <a name="boost.intrusive.hashdata_internal.reference"></a><span class="identifier">reference</span><span class="special">;</span>                
  <span class="keyword">typedef</span> <a class="link" href="pointer_traits.html" title="Struct template pointer_traits">pointer_traits</a><span class="special">&lt;</span> <span class="identifier">const_pointer</span> <span class="special">&gt;</span><span class="special">::</span><span class="identifier">reference</span>                                                                                                 <a name="boost.intrusive.hashdata_internal.const_reference"></a><span class="identifier">const_reference</span><span class="special">;</span>          
  <span class="keyword">typedef</span> <span class="identifier">value_traits</span><span class="special">::</span><span class="identifier">node_traits</span>                                                                                                                  <a name="boost.intrusive.hashdata_internal.node_traits"></a><span class="identifier">node_traits</span><span class="special">;</span>              
  <span class="keyword">typedef</span> <span class="identifier">node_traits</span><span class="special">::</span><span class="identifier">node</span>                                                                                                                          <a name="boost.intrusive.hashdata_internal.node"></a><span class="identifier">node</span><span class="special">;</span>                     
  <span class="keyword">typedef</span> <span class="identifier">node_traits</span><span class="special">::</span><span class="identifier">node_ptr</span>                                                                                                                      <a name="boost.intrusive.hashdata_internal.node_ptr"></a><span class="identifier">node_ptr</span><span class="special">;</span>                 
  <span class="keyword">typedef</span> <span class="identifier">node_traits</span><span class="special">::</span><span class="identifier">const_node_ptr</span>                                                                                                                <a name="boost.intrusive.hashdata_internal.const_node_ptr"></a><span class="identifier">const_node_ptr</span><span class="special">;</span>           
  <span class="keyword">typedef</span> <span class="identifier">bucket_plus_vtraits_t</span><span class="special">::</span><span class="identifier">slist_node_algorithms</span>                                                                                               <a name="boost.intrusive.hashdata_internal.slist_node_algorithms"></a><span class="identifier">slist_node_algorithms</span><span class="special">;</span>    
  <span class="keyword">typedef</span> <span class="identifier">bucket_plus_vtraits_t</span><span class="special">::</span><span class="identifier">slist_node_ptr</span>                                                                                                      <a name="boost.intrusive.hashdata_internal.slist_node_ptr"></a><span class="identifier">slist_node_ptr</span><span class="special">;</span>           
  <span class="keyword">typedef</span> <span class="identifier">hash_key_types_base</span><span class="special">&lt;</span> <span class="keyword">typename</span> <span class="identifier">ValueTraits</span><span class="special">::</span><span class="identifier">value_type</span><span class="special">,</span> <span class="identifier">VoidOrKeyOfValue</span> <span class="special">&gt;</span>                                                                  <a name="boost.intrusive.hashdata_internal.hash_types_base"></a><span class="identifier">hash_types_base</span><span class="special">;</span>          
  <span class="keyword">typedef</span> <span class="identifier">hash_types_base</span><span class="special">::</span><span class="identifier">key_of_value</span>                                                                                                              <a name="boost.intrusive.hashdata_internal.key_of_value"></a><span class="identifier">key_of_value</span><span class="special">;</span>             
  <span class="keyword">typedef</span> <span class="emphasis"><em><span class="identifier">unspecified</span></em></span>                                                                                                                                <a name="boost.intrusive.hashdata_internal.store_hash_t"></a><span class="identifier">store_hash_t</span><span class="special">;</span>             
  <span class="keyword">typedef</span> <span class="emphasis"><em><span class="identifier">unspecified</span></em></span>                                                                                                                                <a name="boost.intrusive.hashdata_internal.local_iterator"></a><span class="identifier">local_iterator</span><span class="special">;</span>           
  <span class="keyword">typedef</span> <span class="emphasis"><em><span class="identifier">unspecified</span></em></span>                                                                                                                                <a name="boost.intrusive.hashdata_internal.const_local_iterator"></a><span class="identifier">const_local_iterator</span><span class="special">;</span>     
  <span class="keyword">typedef</span> <span class="emphasis"><em><span class="identifier">unspecified</span></em></span>                                                                                                                                <a name="boost.intrusive.hashdata_internal.linear_buckets_t"></a><span class="identifier">linear_buckets_t</span><span class="special">;</span>         
  <span class="keyword">typedef</span> <span class="identifier">bucket_plus_vtraits_t</span><span class="special">::</span><span class="identifier">iterator</span>                                                                                                            <a name="boost.intrusive.hashdata_internal.iterator"></a><span class="identifier">iterator</span><span class="special">;</span>                 
  <span class="keyword">typedef</span> <span class="identifier">bucket_plus_vtraits_t</span><span class="special">::</span><span class="identifier">const_iterator</span>                                                                                                      <a name="boost.intrusive.hashdata_internal.const_iterator"></a><span class="identifier">const_iterator</span><span class="special">;</span>           
  <span class="keyword">typedef</span> <span class="emphasis"><em><span class="identifier">unspecified</span></em></span>                                                                                                                                <a name="boost.intrusive.hashdata_internal.fastmod_buckets_t"></a><span class="identifier">fastmod_buckets_t</span><span class="special">;</span>        

  <span class="comment">// <a class="link" href="hashdata_internal.html#boost.intrusive.hashdata_internalconstruct-copy-destruct">construct/copy/destruct</a></span>
  <a class="link" href="../interprocess/interprocess_upgr_idm31107.html#idm31123-bb"><span class="identifier">hashdata_internal</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">ValueTraits</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">bucket_traits</span> <span class="special">&amp;</span><span class="special">,</span> 
                    <span class="keyword">const</span> <span class="identifier">hasher</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">key_equal</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="hashdata_internal.html#idm31132-bb"><span class="identifier">hashdata_internal</span></a><span class="special">(</span><span class="identifier">hashdata_internal</span> <span class="special">&amp;&amp;</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="hashdata_internal.html#idm31135-bb"><span class="special">~</span><span class="identifier">hashdata_internal</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>

  <span class="comment">// <a class="link" href="hashdata_internal.html#idm30991-bb">public member functions</a></span>
  <span class="identifier">split_bucket_hash_equal_t</span><span class="special">::</span><span class="identifier">size_traits_t</span> <a class="link" href="../interprocess/interprocess_shar_idm30969.html#idm30992-bb"><span class="identifier">priv_split_traits</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">void</span> <a class="link" href="hashdata_internal.html#idm30994-bb"><span class="identifier">priv_clear_buckets</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">void</span> <a class="link" href="hashdata_internal.html#idm30996-bb"><span class="identifier">priv_clear_buckets_and_cache</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">void</span> <a class="link" href="hashdata_internal.html#idm30998-bb"><span class="identifier">priv_init_buckets_and_cache</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
  <span class="identifier">SizeType</span> <a class="link" href="hashdata_internal.html#idm31000-bb"><span class="identifier">split_count</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span>
  <span class="keyword">void</span> <a class="link" href="../container/vector.html#idm31002-bb"><span class="identifier">split_count</span></a><span class="special">(</span><span class="identifier">SizeType</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span>
  <span class="keyword">void</span> <a class="link" href="hashdata_internal.html#idm31006-bb"><span class="identifier">inc_split_count</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span>
  <span class="keyword">void</span> <a class="link" href="hashdata_internal.html#idm31008-bb"><span class="identifier">dec_split_count</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span>
  <span class="identifier">iterator</span> <a class="link" href="../interprocess/interprocess_shar_idm30969.html#idm31010-bb"><span class="identifier">iterator_to</span></a><span class="special">(</span><span class="identifier">reference</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">(</span><span class="special">!</span><span class="identifier">linear_buckets</span><span class="special">)</span><span class="special">;</span>
  <span class="identifier">const_iterator</span> <a class="link" href="hashdata_internal.html#idm31014-bb"><span class="identifier">iterator_to</span></a><span class="special">(</span><span class="identifier">const_reference</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">(</span><span class="special">!</span><span class="identifier">linear_buckets</span><span class="special">)</span><span class="special">;</span>
  <span class="identifier">iterator</span> <a class="link" href="hashdata_internal.html#idm31018-bb"><span class="identifier">iterator_to</span></a><span class="special">(</span><span class="identifier">reference</span><span class="special">,</span> <span class="emphasis"><em><span class="identifier">unspecified</span></em></span><span class="special">)</span><span class="special">;</span>
  <span class="identifier">const_iterator</span> <a class="link" href="hashdata_internal.html#idm31025-bb"><span class="identifier">iterator_to</span></a><span class="special">(</span><span class="identifier">const_reference</span><span class="special">,</span> <span class="emphasis"><em><span class="identifier">unspecified</span></em></span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="identifier">bucket_type</span> <span class="special">&amp;</span> <a class="link" href="hashdata_internal.html#idm31032-bb"><span class="identifier">priv_hash_to_bucket</span></a><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="identifier">bucket_ptr</span> <a class="link" href="hashdata_internal.html#idm31036-bb"><span class="identifier">priv_hash_to_bucket_ptr</span></a><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="identifier">size_type</span> <a class="link" href="../interprocess/interprocess_shar_idm30969.html#idm31040-bb"><span class="identifier">priv_hash_to_nbucket</span></a><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="identifier">size_type</span> <a class="link" href="hashdata_internal.html#idm31044-bb"><span class="identifier">priv_hash_to_nbucket</span></a><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span><span class="special">,</span> <span class="emphasis"><em><span class="identifier">unspecified</span></em></span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="identifier">size_type</span> <a class="link" href="hashdata_internal.html#idm31051-bb"><span class="identifier">priv_hash_to_nbucket</span></a><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span><span class="special">,</span> <span class="emphasis"><em><span class="identifier">unspecified</span></em></span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="identifier">iterator</span> <a class="link" href="hashdata_internal.html#idm31059-bb"><span class="identifier">iterator_to</span></a><span class="special">(</span><span class="identifier">reference</span><span class="special">,</span> <span class="emphasis"><em><span class="identifier">unspecified</span></em></span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span>
  <span class="identifier">const_iterator</span> <a class="link" href="hashdata_internal.html#idm31066-bb"><span class="identifier">iterator_to</span></a><span class="special">(</span><span class="identifier">const_reference</span><span class="special">,</span> <span class="emphasis"><em><span class="identifier">unspecified</span></em></span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span>
  <span class="identifier">local_iterator</span> <a class="link" href="hashdata_internal.html#idm31073-bb"><span class="identifier">local_iterator_to</span></a><span class="special">(</span><span class="identifier">reference</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span>
  <span class="identifier">const_local_iterator</span> <a class="link" href="../interprocess/interprocess_shar_idm30969.html#idm31077-bb"><span class="identifier">local_iterator_to</span></a><span class="special">(</span><span class="identifier">const_reference</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span>
  <span class="identifier">size_type</span> <a class="link" href="hashdata_internal.html#idm31081-bb"><span class="identifier">bucket_count</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span>
  <span class="identifier">size_type</span> <a class="link" href="../container/vector.html#idm31083-bb"><span class="identifier">bucket_size</span></a><span class="special">(</span><span class="identifier">size_type</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span>
  <span class="identifier">bucket_ptr</span> <a class="link" href="hashdata_internal.html#idm31087-bb"><span class="identifier">bucket_pointer</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span>
  <span class="identifier">local_iterator</span> <a class="link" href="hashdata_internal.html#idm31089-bb"><span class="identifier">begin</span></a><span class="special">(</span><span class="identifier">size_type</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span>
  <span class="identifier">const_local_iterator</span> <a class="link" href="hashdata_internal.html#idm31093-bb"><span class="identifier">begin</span></a><span class="special">(</span><span class="identifier">size_type</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span>
  <span class="identifier">const_local_iterator</span> <a class="link" href="hashdata_internal.html#idm31097-bb"><span class="identifier">cbegin</span></a><span class="special">(</span><span class="identifier">size_type</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span>
  <span class="identifier">local_iterator</span> <a class="link" href="../container/vector.html#idm31101-bb"><span class="identifier">end</span></a><span class="special">(</span><span class="identifier">size_type</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span>
  <span class="identifier">const_local_iterator</span> <a class="link" href="hashdata_internal.html#idm31105-bb"><span class="identifier">end</span></a><span class="special">(</span><span class="identifier">size_type</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span>
  <span class="identifier">const_local_iterator</span> <a class="link" href="hashdata_internal.html#idm31109-bb"><span class="identifier">cend</span></a><span class="special">(</span><span class="identifier">size_type</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span>
  <span class="identifier">iterator</span> <a class="link" href="hashdata_internal.html#idm31113-bb"><span class="identifier">begin</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span>
  <span class="identifier">const_iterator</span> <a class="link" href="hashdata_internal.html#idm31115-bb"><span class="identifier">begin</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span>
  <span class="identifier">const_iterator</span> <a class="link" href="hashdata_internal.html#idm31117-bb"><span class="identifier">cbegin</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span>
  <span class="identifier">hasher</span> <a class="link" href="hashdata_internal.html#idm31119-bb"><span class="identifier">hash_function</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="identifier">key_equal</span> <a class="link" href="../container/vector.html#idm31121-bb"><span class="identifier">key_eq</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>

  <span class="comment">// <a class="link" href="hashdata_internal.html#idm31136-bb">public static functions</a></span>
  <span class="keyword">static</span> <span class="identifier">SizeType</span> <a class="link" href="../container/vector.html#idm31137-bb"><span class="identifier">initial_split_from_bucket_count</span></a><span class="special">(</span><span class="identifier">SizeType</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span>
  <span class="keyword">static</span> <span class="identifier">SizeType</span> <a class="link" href="hashdata_internal.html#idm31141-bb"><span class="identifier">rehash_split_from_bucket_count</span></a><span class="special">(</span><span class="identifier">SizeType</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span>
  <span class="keyword">static</span> <span class="identifier">local_iterator</span> <a class="link" href="hashdata_internal.html#idm31145-bb"><span class="identifier">s_local_iterator_to</span></a><span class="special">(</span><span class="identifier">reference</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span>
  <span class="keyword">static</span> <span class="identifier">const_local_iterator</span> <a class="link" href="hashdata_internal.html#idm31149-bb"><span class="identifier">s_local_iterator_to</span></a><span class="special">(</span><span class="identifier">const_reference</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span>
  <span class="keyword">static</span> <span class="identifier">size_type</span> <a class="link" href="hashdata_internal.html#idm31153-bb"><span class="identifier">suggested_upper_bucket_count</span></a><span class="special">(</span><span class="identifier">size_type</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span>
  <span class="keyword">static</span> <span class="identifier">size_type</span> <a class="link" href="../interprocess/interprocess_upgr_idm31107.html#idm31157-bb"><span class="identifier">suggested_lower_bucket_count</span></a><span class="special">(</span><span class="identifier">size_type</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span>

  <span class="comment">// public data members</span>
  <span class="keyword">static</span> <span class="keyword">const</span> <span class="keyword">bool</span> <span class="identifier">linear_buckets</span><span class="special">;</span>
  <span class="keyword">static</span> <span class="keyword">const</span> <span class="keyword">bool</span> <span class="identifier">store_hash</span><span class="special">;</span>
  <span class="keyword">static</span> <span class="keyword">const</span> <span class="keyword">bool</span> <span class="identifier">safemode_or_autounlink</span><span class="special">;</span>
  <span class="keyword">static</span> <span class="keyword">const</span> <span class="keyword">bool</span> <span class="identifier">stateful_value_traits</span><span class="special">;</span>
  <span class="keyword">static</span> <span class="keyword">const</span> <span class="keyword">bool</span> <span class="identifier">incremental</span><span class="special">;</span>
  <span class="keyword">static</span> <span class="keyword">const</span> <span class="keyword">bool</span> <span class="identifier">power_2_buckets</span><span class="special">;</span>
  <span class="keyword">static</span> <span class="keyword">const</span> <span class="keyword">bool</span> <span class="identifier">fastmod_buckets</span><span class="special">;</span>
<span class="special">}</span><span class="special">;</span></pre></div>
<div class="refsect1">
<a name="id-1.3.18.42.14.24.4"></a><h2>Description</h2>
<div class="refsect2">
<a name="id-1.3.18.42.14.24.4.2"></a><h3>
<a name="boost.intrusive.hashdata_internalconstruct-copy-destruct"></a><code class="computeroutput">hashdata_internal</code> 
        public
       construct/copy/destruct</h3>
<div class="orderedlist"><ol class="orderedlist" type="1">
<li class="listitem"><pre class="literallayout"><a name="idm31123-bb"></a><span class="identifier">hashdata_internal</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">ValueTraits</span> <span class="special">&amp;</span> val_traits<span class="special">,</span> 
                  <span class="keyword">const</span> <span class="identifier">bucket_traits</span> <span class="special">&amp;</span> b_traits<span class="special">,</span> <span class="keyword">const</span> <span class="identifier">hasher</span> <span class="special">&amp;</span> h<span class="special">,</span> 
                  <span class="keyword">const</span> <span class="identifier">key_equal</span> <span class="special">&amp;</span> e<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a name="idm31132-bb"></a><span class="identifier">hashdata_internal</span><span class="special">(</span><span class="identifier">hashdata_internal</span> <span class="special">&amp;&amp;</span> other<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a name="idm31135-bb"></a><span class="special">~</span><span class="identifier">hashdata_internal</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre></li>
</ol></div>
</div>
<div class="refsect2">
<a name="id-1.3.18.42.14.24.4.3"></a><h3>
<a name="idm30991-bb"></a><code class="computeroutput">hashdata_internal</code> public member functions</h3>
<div class="orderedlist"><ol class="orderedlist" type="1">
<li class="listitem"><pre class="literallayout"><span class="identifier">split_bucket_hash_equal_t</span><span class="special">::</span><span class="identifier">size_traits_t</span> <a name="idm30992-bb"></a><span class="identifier">priv_split_traits</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">void</span> <a name="idm30994-bb"></a><span class="identifier">priv_clear_buckets</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">void</span> <a name="idm30996-bb"></a><span class="identifier">priv_clear_buckets_and_cache</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">void</span> <a name="idm30998-bb"></a><span class="identifier">priv_init_buckets_and_cache</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">SizeType</span> <a name="idm31000-bb"></a><span class="identifier">split_count</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">void</span> <a name="idm31002-bb"></a><span class="identifier">split_count</span><span class="special">(</span><span class="identifier">SizeType</span> s<span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">void</span> <a name="idm31006-bb"></a><span class="identifier">inc_split_count</span><span class="special">(</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">void</span> <a name="idm31008-bb"></a><span class="identifier">dec_split_count</span><span class="special">(</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">iterator</span> <a name="idm31010-bb"></a><span class="identifier">iterator_to</span><span class="special">(</span><span class="identifier">reference</span> value<span class="special">)</span> <span class="keyword">noexcept</span><span class="special">(</span><span class="special">!</span><span class="identifier">linear_buckets</span><span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">const_iterator</span> 
<a name="idm31014-bb"></a><span class="identifier">iterator_to</span><span class="special">(</span><span class="identifier">const_reference</span> value<span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">(</span><span class="special">!</span><span class="identifier">linear_buckets</span><span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">iterator</span> <a name="idm31018-bb"></a><span class="identifier">iterator_to</span><span class="special">(</span><span class="identifier">reference</span> value<span class="special">,</span> <span class="emphasis"><em><span class="identifier">unspecified</span></em></span><span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">const_iterator</span> <a name="idm31025-bb"></a><span class="identifier">iterator_to</span><span class="special">(</span><span class="identifier">const_reference</span> value<span class="special">,</span> <span class="emphasis"><em><span class="identifier">unspecified</span></em></span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">bucket_type</span> <span class="special">&amp;</span> <a name="idm31032-bb"></a><span class="identifier">priv_hash_to_bucket</span><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> hash_value<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">bucket_ptr</span> <a name="idm31036-bb"></a><span class="identifier">priv_hash_to_bucket_ptr</span><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> hash_value<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">size_type</span> <a name="idm31040-bb"></a><span class="identifier">priv_hash_to_nbucket</span><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> hash_value<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">size_type</span> <a name="idm31044-bb"></a><span class="identifier">priv_hash_to_nbucket</span><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> hash_value<span class="special">,</span> <span class="emphasis"><em><span class="identifier">unspecified</span></em></span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem">
<pre class="literallayout"><span class="identifier">size_type</span> <a name="idm31051-bb"></a><span class="identifier">priv_hash_to_nbucket</span><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> hash_value<span class="special">,</span> <span class="emphasis"><em><span class="identifier">unspecified</span></em></span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre>fastmod_buckets_t </li>
<li class="listitem"><pre class="literallayout"><span class="identifier">iterator</span> <a name="idm31059-bb"></a><span class="identifier">iterator_to</span><span class="special">(</span><span class="identifier">reference</span> value<span class="special">,</span> <span class="emphasis"><em><span class="identifier">unspecified</span></em></span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">const_iterator</span> <a name="idm31066-bb"></a><span class="identifier">iterator_to</span><span class="special">(</span><span class="identifier">const_reference</span> value<span class="special">,</span> <span class="emphasis"><em><span class="identifier">unspecified</span></em></span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">local_iterator</span> <a name="idm31073-bb"></a><span class="identifier">local_iterator_to</span><span class="special">(</span><span class="identifier">reference</span> value<span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">const_local_iterator</span> <a name="idm31077-bb"></a><span class="identifier">local_iterator_to</span><span class="special">(</span><span class="identifier">const_reference</span> value<span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">size_type</span> <a name="idm31081-bb"></a><span class="identifier">bucket_count</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">size_type</span> <a name="idm31083-bb"></a><span class="identifier">bucket_size</span><span class="special">(</span><span class="identifier">size_type</span> n<span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">bucket_ptr</span> <a name="idm31087-bb"></a><span class="identifier">bucket_pointer</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">local_iterator</span> <a name="idm31089-bb"></a><span class="identifier">begin</span><span class="special">(</span><span class="identifier">size_type</span> n<span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">const_local_iterator</span> <a name="idm31093-bb"></a><span class="identifier">begin</span><span class="special">(</span><span class="identifier">size_type</span> n<span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">const_local_iterator</span> <a name="idm31097-bb"></a><span class="identifier">cbegin</span><span class="special">(</span><span class="identifier">size_type</span> n<span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">local_iterator</span> <a name="idm31101-bb"></a><span class="identifier">end</span><span class="special">(</span><span class="identifier">size_type</span> n<span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">const_local_iterator</span> <a name="idm31105-bb"></a><span class="identifier">end</span><span class="special">(</span><span class="identifier">size_type</span> n<span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">const_local_iterator</span> <a name="idm31109-bb"></a><span class="identifier">cend</span><span class="special">(</span><span class="identifier">size_type</span> n<span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">iterator</span> <a name="idm31113-bb"></a><span class="identifier">begin</span><span class="special">(</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">const_iterator</span> <a name="idm31115-bb"></a><span class="identifier">begin</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">const_iterator</span> <a name="idm31117-bb"></a><span class="identifier">cbegin</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">hasher</span> <a name="idm31119-bb"></a><span class="identifier">hash_function</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">key_equal</span> <a name="idm31121-bb"></a><span class="identifier">key_eq</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
</ol></div>
</div>
<div class="refsect2">
<a name="id-1.3.18.42.14.24.4.4"></a><h3>
<a name="idm31136-bb"></a><code class="computeroutput">hashdata_internal</code> public static functions</h3>
<div class="orderedlist"><ol class="orderedlist" type="1">
<li class="listitem"><pre class="literallayout"><span class="keyword">static</span> <span class="identifier">SizeType</span> <a name="idm31137-bb"></a><span class="identifier">initial_split_from_bucket_count</span><span class="special">(</span><span class="identifier">SizeType</span> bc<span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">static</span> <span class="identifier">SizeType</span> <a name="idm31141-bb"></a><span class="identifier">rehash_split_from_bucket_count</span><span class="special">(</span><span class="identifier">SizeType</span> bc<span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">static</span> <span class="identifier">local_iterator</span> <a name="idm31145-bb"></a><span class="identifier">s_local_iterator_to</span><span class="special">(</span><span class="identifier">reference</span> value<span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">static</span> <span class="identifier">const_local_iterator</span> 
<a name="idm31149-bb"></a><span class="identifier">s_local_iterator_to</span><span class="special">(</span><span class="identifier">const_reference</span> value<span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">static</span> <span class="identifier">size_type</span> <a name="idm31153-bb"></a><span class="identifier">suggested_upper_bucket_count</span><span class="special">(</span><span class="identifier">size_type</span> n<span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">static</span> <span class="identifier">size_type</span> <a name="idm31157-bb"></a><span class="identifier">suggested_lower_bucket_count</span><span class="special">(</span><span class="identifier">size_type</span> n<span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li>
</ol></div>
</div>
</div>
</div>
<div class="copyright-footer">Copyright © 2005 Olaf Krzikalla<br>Copyright © 2006-2015 Ion Gaztanaga<p>
        Distributed under the Boost Software License, Version 1.0. (See accompanying
        file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
      </p>
</div>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="hash_key_types_base.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../intrusive/reference.html#header.boost.intrusive.hashtable_hpp"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="hashtable.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>
